package pref.junx.flybird.activity.register;


import pref.junx.flybird.base.BaseModel;
import pref.junx.flybird.base.BasePresenter;
import pref.junx.flybird.base.Baseview;
import pref.junx.flybird.entity.Register;
import pref.junx.flybird.entity.ResultBean;
import rx.Observable;

/**
 * Created by 半生瓜 on 2017/8/7
 * .
 */

public interface RegisterConteact {
    interface Model extends BaseModel {
        Observable<ResultBean<Boolean>> getregisterModel(Register register);


    }

    interface View extends Baseview {
        void success();

        void result();
    }

    abstract class Presenter extends BasePresenter<Model, View> {
        protected abstract void doreg(Register register);
    }
}
